Skip to content

V2 Rewrite#238

Draft
ds5678 wants to merge 479 commits into
BepInEx:masterfrom
ds5678:v2-rewrite
Draft

V2 Rewrite#238
ds5678 wants to merge 479 commits into
BepInEx:masterfrom
ds5678:v2-rewrite

Conversation

@ds5678

@ds5678 ds5678 commented Oct 9, 2025

Copy link
Copy Markdown
Collaborator

This is mostly finished, but it's being tested and cleaned up.

Closes #70
Resolves #87
Closes #95
Resolves #97
Closes #103
Closes #107
Closes #108
Resolves #109
Resolves #127
Resolves #128
Resolves #136
Closes #139
Resolves #140
Resolves #141
Resolves #142
Closes #143
Resolves #144
Resolves #145
Resolves #146
Resolves #147
Resolves #148
Resolves #149
Resolves #150
Resolves #151
Resolves #152
Resolves #165
Resolves #166
Resolves #174
Resolves #175
Resolves #176
Resolves #182
Closes #187
Resolves #195
Resolves #207
Resolves #213
Closes #216
Resolves #217
Resolves #218
Resolves #221
Closes #222
Resolves #224
Closes #234
Resolves #240
Resolves #241
Closes #246
Closes #248
Resolves #249
Resolves #258
Resolves #265

@ds5678 ds5678 force-pushed the v2-rewrite branch 3 times, most recently from fd4ac65 to df3a9b5 Compare April 14, 2026 04:55
ds5678 added 27 commits April 15, 2026 23:43
It was referencing ReferencedDelegate property wrong, since ReferencedDelegate is no longer a field.

Also fixed some nullable warnings.
Fix handling for Pointer<> and ByReference<>
ds5678 added 10 commits May 17, 2026 17:29
Removed the <Configurations> and <Platforms> properties from Il2CppInterop.CLI.csproj, Il2CppInterop.Generator.csproj, and Il2CppInterop.Runtime.csproj to simplify project configuration. No other changes were made.
Added <PackageId> to Il2CppInterop.Common and HarmonySupport projects. Removed <GeneratePackageOnBuild>false</GeneratePackageOnBuild> from StructGenerator to use default packaging behavior.
Bump Microsoft.Extensions.Logging, System.IO.Hashing, and Basic.Reference.Assemblies.Net100 to latest patch versions in relevant project files. No functional or logic changes included.
ds5678 and others added 19 commits June 16, 2026 12:26
Switched to single-target net10.0. Added logic to pack Il2Cppmscorlib.dll into the NuGet package, with paths based on build configuration. Ensured Il2Cppmscorlib is built before packaging by adding a pre-pack MSBuild target.
Updated AssetRipper.Cpp2IL.Core to 1.0.6 and PolySharp to 1.16.0 for improved compatibility and features.
Introduce FromSystemType in Il2CppSystemTypeExtensions to convert System.Type to Il2CppSystem.Type using class pointers. Refactor ManagedTypeToIl2CppType to use this new method. Add [RequiresDynamicCode] attribute and necessary using directive.
* Replace pragma directives with suppression attributes
* Add additional annotation attributes where necessary
* Remove system delegate unstripping from DelegateConversionProcessingLayer, as it's no longer needed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment